package com.wudl.file.remote.feign;

import com.wudl.common.api.CommonResult;
import com.wudl.file.remote.domain.FileInfo;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author ：wudl
 * @date ：Created in 2022-03-23 23:28
 * @description：
 * @modified By：
 * @version: 1.0
 */
@Component
public class FileServiceFallback implements FileService{
    @Override
    public CommonResult<List<FileInfo>> listFiles(String bucket) {
        System.out.println("服务降级错误-------------");
        return CommonResult.failed();
    }
}
